package com.example.yian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("project_info")
public class ProjectInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @TableField("project_name")
    private String projectName;

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    @TableField("construction_unit")
    private String constructionUnit;

    public Long getUserId() {
        return userId;
    }

    public String getConstructionUnit() {
        return constructionUnit;
    }

    @TableField("design_unit")
    private String designUnit;

    public String getDesignUnit() {
        return designUnit;
    }

    @TableField("specification_auth")
    private Boolean specificationAuth;

    public Boolean getSpecificationAuth() {
        return specificationAuth;
    }


    @TableField("supervision_unit")
    private String supervisionUnit;

    public String getSupervisionUnit() {
        return supervisionUnit;
    }

    @TableField("inspection_team_name")
    private String inspectionTeamName;

    public String getInspectionTeamName() {
        return inspectionTeamName;
    }

    @TableField("inspection_personnel")
    private String inspectionPersonnel;

    public String getInspectionPersonnel() {
        return inspectionPersonnel;
    }

    @TableField("project_location")
    private String projectLocation;
    public String getProjectLocation() {
        return projectLocation;
    }

    @TableField("project_id")
    private String projectId;
    public String getProjectId() {
        return projectId;
    }

    @TableField("project_type")
    private int projectType;
    public int getProjectType() {
        return projectType;
    }

}
